/*
 * @Description:
 * @Author: william
 * @Date: 2025-07-04 14:29:48
 * @LastEditors: william
 * @LastEditTime: 2025-09-18 11:22:42
 */
const prefix = '/app'

// ------------------- 上报菜谱信息 --------------------
export const apiUploadRecipeInfo = data =>
  g_http.post(`${prefix}/uploadRecipeInfo`, data)

// ------------------- 下载菜谱 --------------------
export const apiDownloadRecipeInfo = data =>
  g_http.post(`${prefix}/downloadRecipeInfo`, data)

// ------------------- 查询菜谱食材/调料列表 --------------------
export const apiQueryIngredientList = data =>
  g_http.post(`${prefix}/queryIngredientList`, data)

// -------------------  查询字典下拉列表 -------------------
export const apiDictDropList = data => g_http.post(`/dict/dropList`, data)

// -------------------  查询工艺下拉列表 -------------------
export const apiProcessDropList = data =>
  g_http.post(`/materialprocess/dropList`, data)
